import Vue from "vue"
import App from "./App.vue"
import router from "./router"
import store from "./store"
import axios from 'axios'
import VueAxios from 'vue-axios'
import vuetify from "@/plugins/vuetify"
import layer from 'vue-layer'
import 'vue-layer/lib/vue-layer.css'

axios.defaults.baseURL='http://localhost:8080/api'

Vue.prototype.$layer = layer(Vue, {
  msgtime: 3,//目前只有一项，即msg方法的默认消失时间，单位：秒
});

Vue.use(VueAxios,axios)

//引入富文本编译器
import VueQuillEditor from 'vue-quill-editor'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
Vue.use(VueQuillEditor)

new Vue({
  router,
  store,
  vuetify,
  render: h => h(App)
}).$mount("#app");
